package com.atguigu.gmall.common.constants;

import org.springframework.context.annotation.Configuration;

/**
 * @author A
 * @version 1.0
 * @description: TODO
 * @date 2024/10/12 1:41
 */
public class RabbitMqConst {
    public static final String ORDER_EVENT_EXCHANGE = "order-event-exchange";
    public static final String ORDER_DELAY_QUEUE = "order-delay-queue";
    public static final String ORDER_RK_TIMEOUT = "order.timeout";
    public static final String ORDER_RK_CREATE = "order.create";
    public static final String ORDER_DEAD_QUEUE = "order-dead-queue";
    public static final String ORDER_RK_PAID = "order.paid";
    public static final String ORDER_PAID_QUEUE = "order-paid-queue";
    public static final String WARE_EVENT_EXCHANGE = "exchange.direct.ware.stock";
    public static final String WARE_RK_STOCK = "ware.stock";
    //库存系统减库存
    public static final String EXCHANGE_DIRECT_WARE_ORDER = "exchange.direct.ware.order";
    public static final String ROUTING_WARE_ORDER = "ware.order";
    //队列
    public static final String QUEUE_WARE_ORDER  = "queue.ware.order";


    public static final String SECKILL_EVENT_EXCHANGE = "seckill-event-exchange";
    public static final String SECKILL_RK_STOCK = "seckill.stock";
    public static final String QUEUE_SECKILL_STOCK = "seckill-stock-queue";
}
